const QuesMixin = {
  data: function () {
    return {
      diffOptions: [
        { key: 1, value: '简单' },
        { key: 2, value: '容易' },
        { key: 3, value: '中等' },
        { key: 4, value: '较难' },
        { key: 5, value: '困难' }
      ],
      quesTypeOptions: [
        {key: 1,value: '单选题'},
        {key: 2,value: '多选题'},
        {key: 3,value: '判断题'},
        {key: 4,value: '填空题'},
        {key: 5,value: '解答题'}
      ],
      subjectOptions: [
        {key: 'biology',value: '生物'},
        {key: 'chemistry',value: '化学'},
        {key: 'chinese',value: '语文'},
        {key: 'english',value: '英语'},
        {key: 'geography',value: '地理'},
        {key: 'history',value: '历史'},
        {key: 'math',value: '数学'},
        {key: 'physics',value: '物理'},
      ],
      subjectMap: {
        biology: '生物',chemistry: '化学',
        math: '数学',physics: '物理',
        chinese: '语文',english: '英语',
        geography: '地理',history: '历史'
      },
      quesTypeMap: {
        1: '单选题',2: '多选题',
        3: '判断题',4: '填空题',
        5: '解答题'
      },
      diffIcoColor: {
        1:'green',
        2:'green',
        3:'#ff9900',
        4:'orange',
        5:'red'
      }
    }
  },
  methods: {

  },
}

export { QuesMixin }
